platform :ios, '12.3'
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
#use_frameworks!

use_modular_headers!


target 'DSP' do
  
  pod 'Charts'
  pod 'MJExtension', '~> 3.4.1'
  pod 'BGFMDB', '~> 2.0.13'
  pod 'RealmSwift'
  pod 'SVProgressHUD', '~> 2.2.5'   #提示框
  #pod 'ZLPhotoBrowser', '~> 4.3.9'   #图片选择
  pod 'Moya', '~> 15.0.0'
  pod 'SwiftyJSON'
  pod 'Bugly'
  #pod 'QMUIKit', '~> 4.3.0'         #UI框架
  pod 'KeychainAccess'
  
  
  #本地依赖组件
  #组件
  $local = '../../../CCKit/TCCKit/'
  pod 'TCCKit', :path => '../../../CCKit/TCCKit/TCCKit'
  
end

#解决 RealmSwift依赖Realm的报错问题
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == 'Realm'
      target.build_configurations.each do |config|
        config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
      end
    end
  end
end
